//
// Numbers.hh for  in /home/gomes_m//svn/google/ticket-pour-gdl/menu_V1
// 
// Made by mickael gomes
// Login   <gomes_m@epitech.net>
// 
// Started on  Wed May 29 14:02:35 2013 mickael gomes
// Last update Thu May 30 10:29:46 2013 mickael gomes
//

#ifndef			NUMBERS_HH_
# define		NUMBERS_HH_

# include		<utility>
# include		<vector>
# include		"Rectangle.hh"
# include		"Enum.hh"
# include		"Cursor.hh"

class			Numbers : public Rectangle
{
public:
  Numbers();
  ~Numbers();
  void			plusOne();
  void			minusOne();
  void			update(Key, Cursor &);
  void			setVertex();

public:
  enum			Letters
    {
      A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z,
      a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z,
      zero, one, two, three, four, five, six, seven, eight, nine
    };

private:
  std::vector< std::pair <char, float> > tab_;
  std::vector< std::pair <char, float> >::iterator it_;
  void			(Numbers::*ftab_[2])();
  int			line_;
};

# endif			// !NUMBERS_HH_
